<div class="users form">
    <?php echo $form->create('User'); ?>
    <fieldset>
        <legend><?php __('Adicionar Usuário'); ?></legend>
        <?php
        echo $form->input('name', array('label' => 'Nome Completo'));
        echo $form->input('cpf', array('label' => 'CPF'));
        echo $form->input('email', array('label' => 'E-mail'));
        echo $form->input('username', array('label' => 'Nome de Usuário'));
        echo $form->input('password', array('label' => 'Senha'));
        echo $form->input('group_id', array('label' => 'Grupo de Usuários'));
        ?>
    </fieldset>
    <?php echo $form->end('Salvar'); ?>
    </div>
    <div class="actions">
        <ul>
            <li><?php echo $html->link(__('Listar Usuários', true), array('action' => 'index')); ?></li>
            <li><?php echo $html->link(__('Listar Grupos', true), array('controller' => 'groups', 'action' => 'index')); ?> </li>
            <li><?php echo $html->link(__('Adicionar Grupo', true), array('controller' => 'groups', 'action' => 'add')); ?> </li>
    </ul>
</div>
